package Avocado.util {

	import flash.external.ExternalInterface;
	
	public class SuperTrace {
		public function SuperTrace(toTrace:*) {
			if (ExternalInterface.available){
				ExternalInterface.call('consol.debug', toTrace);
			} else {
				trace(toTrace);
			}
		}

		public static function trace(_toTrace:*):SuperTrace{
			return new SuperTrace(_toTrace);
		}
	}
}